package com.yyh.feign.controller;

import com.yyh.feign.service.FeignService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Author : 尤毅鹤
 * Date: 2019/12/17 13:42
 * Description: <描述>
 */
@RestController
public class FeignController {

    @Resource
    FeignService feignService;

    @RequestMapping("hi")
    public String feign(){
        return feignService.userLogin();
    }
}
